package astnode;

import common.TokenType;

public class ExpressionNode extends ASTNode{
	private TokenType ExpressionType;
	private String result = "";
	
	public ExpressionNode( int lineNum ) {
		super( lineNum );
	}
	
	public ExpressionNode( ExpressionNode t ) {
		super( t.getLineNum() );
		this.ExpressionType = t.ExpressionType;
	}
	

	public TokenType getType() {
		return ExpressionType;
	}

	public void setType(TokenType expressionType) {
		ExpressionType = expressionType;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}
	
}
